package com.zzjx.oauth2.common.util;

public class PasswordUtil {

    private static ThreadLocal<Boolean> ignoreLocal=new ThreadLocal<Boolean>();

    public static void setIgnore(Boolean ignore){
        ignoreLocal.set(ignore);
    }

    public static Boolean getIgnore(){
        return ignoreLocal.get();
    }

    public static void clear(){
         ignoreLocal.remove();
    }
}
